package com.timebank.score.service;

import com.timebank.common.core.web.pojo.AjaxResult;
import com.timebank.score.pojo.entity.ScoreTaskType;
import org.springframework.stereotype.Service;

/**
 * 积分任务类型 接口类
 * @author shiliuyinzhen
 */
@Service
public interface ScoreTaskTypeService {

    /**
     * 查询积分任务类型列表
     * @param scoreTaskType
     * @return
     */
    AjaxResult getScoreTaskTypeList(ScoreTaskType scoreTaskType);

    /**
     * 新增积分任务类型
     * @param scoreTaskType
     * @return
     */
    AjaxResult addScoreTaskType(ScoreTaskType scoreTaskType);

    /**
     * 修改积分任务类型
     * @parama scoreTaskType
     * @return
     */
    AjaxResult updateScoreTaskType(ScoreTaskType scoreTaskType);

    /**
     * 批量删除积分任务类型
     * @param typeIds
     * @return
     */
    AjaxResult batchDeleteScoreTaskType(Integer[] typeIds);
}
